package com.hitales.liteflow.liteflowdemo.contextdemo;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeComponent;

@LiteflowComponent("contextc")
public class CComponent extends NodeComponent {

    @Override
    public void process() {
        CustomContext context = this.getContextBean(CustomContext.class);

        System.out.println("C组件最终数据: userId=" + context.getUserId() + ", age=" + context.getAge());
    }
}

